package com.nopay.cdxphone.bean.response;

/**
 * @ProjectName: myVisualPhone
 * @Package: cn.cn.myvisualphone.bean.response
 * @ClassName: UserStatisticsResponse
 * @Description: java类作用描述
 * @Author: anqi
 * @CreateDate: 2021/6/5 0:54
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/6/5 0:54
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class UserStatisticsResponse {

    private String code;
    private String msg;
    private Data data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data{
        private int todayCallCount;
        private int todayCallSuccessCount;
        private float todayAvgDuration;
        private float todayTotalDuration;

        private int weekCallCount;
        private int weekCallSuccessCount;
        private float weekAvgDuration;
        private float weekTotalDuration;

        private int monthCallCount;
        private int monthCallSuccessCount;
        private float monthAvgDuration;
        private float monthTotalDuration;


        public int getTodayCallCount() {
            return todayCallCount;
        }

        public void setTodayCallCount(int todayCallCount) {
            this.todayCallCount = todayCallCount;
        }

        public int getTodayCallSuccessCount() {
            return todayCallSuccessCount;
        }

        public void setTodayCallSuccessCount(int todayCallSuccessCount) {
            this.todayCallSuccessCount = todayCallSuccessCount;
        }

        public int getTodayCallFailCount() {
            return todayCallCount - todayCallSuccessCount;
        }

        public float getTodayAvgDuration() {
            return todayAvgDuration;
        }

        public void setTodayAvgDuration(float todayAvgDuration) {
            this.todayAvgDuration = todayAvgDuration;
        }

        public float getTodayTotalDuration() {
            return todayTotalDuration;
        }

        public void setTodayTotalDuration(float todayTotalDuration) {
            this.todayTotalDuration = todayTotalDuration;
        }

        public int getWeekCallCount() {
            return weekCallCount;
        }

        public void setWeekCallCount(int weekCallCount) {
            this.weekCallCount = weekCallCount;
        }

        public int getWeekCallSuccessCount() {
            return weekCallSuccessCount;
        }

        public void setWeekCallSuccessCount(int weekCallSuccessCount) {
            this.weekCallSuccessCount = weekCallSuccessCount;
        }

        public float getWeekAvgDuration() {
            return weekAvgDuration;
        }

        public void setWeekAvgDuration(float weekAvgDuration) {
            this.weekAvgDuration = weekAvgDuration;
        }

        public float getWeekTotalDuration() {
            return weekTotalDuration;
        }

        public void setWeekTotalDuration(float weekTotalDuration) {
            this.weekTotalDuration = weekTotalDuration;
        }

        public int getMonthCallCount() {
            return monthCallCount;
        }

        public void setMonthCallCount(int monthCallCount) {
            this.monthCallCount = monthCallCount;
        }

        public int getMonthCallSuccessCount() {
            return monthCallSuccessCount;
        }

        public void setMonthCallSuccessCount(int monthCallSuccessCount) {
            this.monthCallSuccessCount = monthCallSuccessCount;
        }

        public int getMonthCallFailCount() {
            return monthCallCount - monthCallSuccessCount;
        }

        public float getMonthAvgDuration() {
            return monthAvgDuration;
        }

        public void setMonthAvgDuration(float monthAvgDuration) {
            this.monthAvgDuration = monthAvgDuration;
        }

        public float getMonthTotalDuration() {
            return monthTotalDuration;
        }

        public void setMonthTotalDuration(float monthTotalDuration) {
            this.monthTotalDuration = monthTotalDuration;
        }
    }
}
